﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Ftp
{
    /// <summary>
    /// 异步执行命令线程参数
    /// </summary>
    internal class AsynExcuteCommandThreadParam
    {
        public FtpSession Session { get; private set; }
        public string Command { get; private set; }
        public string CommandParam { get; private set; }

        /// <summary>
        /// 执行命令
        /// </summary>
        /// <param name="session"></param>
        /// <param name="command">命令</param>
        /// <param name="commandParam">命令参数</param>
        public AsynExcuteCommandThreadParam(FtpSession session, string command, string commandParam)
        {
            this.Session = session;
            this.Command = command;
            this.CommandParam = commandParam;
        }

    }
}
